home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Packard Bell - Multimedia…D & Packard Bell Library
/
Packard Bell Master CD.iso
/
bu
/
k
/
space.001
/
space
/
space.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-23
|
4KB
|
131 lines
@echo off
rem usage: SPACE [-v] [-clean] [-p]
rem The -p is only used within Windows to pause the end screen.
rem If -v is given, user can hit Ctrl-PrintScreen to dump the screen to a file.
rem If -clean is given, no TSRs will be loaded before running ka.
C:
cd C:\SPACE
:checkcd
existdir D:\SPACE\drivers
if errorlevel 1 goto nocd
goto gotcd
:nocd
cls
echo.
echo.
echo.
echo.
echo.
echo ╔═══════════════════════════════╗
echo ║ ║
echo ║ Unable to access the CD-ROM! ║
echo ║ ║
echo ╚═══════════════════════════════╝
echo.
echo.
echo.
echo.
echo Please insert the Space Aventure CD in the CD-ROM drive
echo and press a key to continue or press [ESC] to cancel.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
checkesc
if errorlevel 2 goto loop
goto end
:loop
cls
goto checkcd
:gotcd
if "%1"=="-CLEAN" goto clean
if "%1"=="-clean" goto clean
rem rem power.exe not detected
if "%1"=="-V" goto vgacapt
if "%1"=="-v" goto vgacapt
moustest
if errorlevel 1 goto nomouse
rem no special tsrs needed
rem No special sound device
ka -520k D:\SPACE\kav.pgm C:\SPACE
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
goto end
:nomouse
mouse
rem no special tsrs needed
rem No special sound device
ka -520k D:\SPACE\kav.pgm C:\SPACE
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
mouse /u >nul
goto end
:vgacapt
moustest
if errorlevel 1 goto vnomouse
rem no special tsrs needed
rem No special sound device
vgacapt ka -520k D:\SPACE\kav.pgm C:\SPACE
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
goto end
:vnomouse
mouse
rem no special tsrs needed
rem No special sound device
vgacapt ka -520k D:\SPACE\kav.pgm C:\SPACE
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
rem no special tsr cleanup needed
mouse /u >nul
goto end
:clean
ka -520k D:\SPACE\kav.pgm C:\SPACE
if errorlevel 1 goto bottom
rem don't clear the screen for errors...
:end
rem No special sound device cleanup
karerun
if errorlevel 99 goto last
zzzkare.bat
:endmsg
echo.
echo.
echo.
echo Thank you for using
echo.
echo Space Adventure CD-ROM
echo.
echo Try these other great new products from Knowledge Adventure!
echo.
echo.
echo ╔═══════════════════════════╗
echo ║ 3-D DINOSAUR ADVENTURE ║
echo ║ 3-D BODY ADVENTURE ║
echo ║ AMERICA ADVENTURE ║
echo ║ BUG ADVENTURE ║
echo ║ KID'S ZOO ║
echo ║ IMAX DISCOVERERS ║
echo ║ IMAX SPEED ║
echo ║ SCIENCE ADVENTURE II ║
echo ║ UNDERSEA ADVENTURE ║
echo ║ ZURK'S LEARNING SAFARI ║
echo ╚═══════════════════════════╝
echo.
echo.
echo For more information call (818) 542-4200.
echo.
:bottom
if not "%1"=="-p" goto last
echo Press a key to return to Windows...
pause > nul
:last
rem go straight to command line, do not pass Go, do not collect $200.
echo.